package com.wn.pettyloan.mapper;

import com.wn.pettyloan.dto.UserDto;
import com.wn.pettyloan.entity.Userinfo;

import java.util.List;

/**
* @author mi-xu
* @description 针对表【userinfo】的数据库操作Mapper
* @createDate 2022-12-06 13:35:49
* @Entity com.wn.pettyloan.entity.Userinfo
*/
public interface UserinfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Userinfo record);

    int insertSelective(Userinfo record);

    Userinfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Userinfo record);

    int updateByPrimaryKey(Userinfo record);

    Userinfo selectByUse(UserDto userDto);

    List<Userinfo> selectByDebitId(Integer debitId);
}
